package service;

import PageBean.PageBean;
import org.junit.Test;
import pojo.Brand;

import java.util.List;

import static org.junit.Assert.*;

public class BrandServiceTest {
    BrandService brandService=new BrandService();

    @Test
    public void selectAllPage() {
        PageBean<Brand> brandPageBean = brandService.selectAllPage(1, 5);
        List<Brand> data = brandPageBean.getData();
        for (Brand datum:data){
            System.out.println(datum);
        }

    }
}